package com.qishon.pc.domain.Application;

import com.qishon.pc.domain.model.MasPartHd;
import com.qishon.pc.domain.service.PreViewService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * Created by yuquan.hu on 2016/12/23.
 */
@Component
public class PreViewManager {

    @Autowired
    private PreViewService preViewService;

    public MasPartHd findMasPartByPartCode(Map<String,Object> map) {
        //map.put("partCode","ANTA24");
        return preViewService.findMasPartByPartCode(map);
    }
}
